home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual Foxpro 6.0 (Ent. Edition) / Vf6ent Extractor.EXE / WIZARDS / _FRAMEWK.H < prev    next >
Encoding:
Text File  |  1998-05-26  |  7.8 KB  |  174 lines

  1. * _framewk.h
  2.  
  3. ***********************************************************
  4. * localization strings, constants, 
  5. * and tunable expressions for _framewk.vcx,
  6. * framework-enabling header file for global template classes
  7.  
  8. ***********************************************************
  9.  
  10. * _application class
  11.  
  12. #DEFINE APP_MEDIATOR_SUPERCLASS      "_formmediator"
  13. * note: don't use TRANSFORM() or trim below, need the padding spaces:
  14. #DEFINE APP_META_FAVE_ID              STR(RECNO())
  15. #DEFINE APP_META_UNAVAILABLE_LOC     "Metatable in use or unavailable:"
  16. #DEFINE APP_META_WRONGFORMAT_LOC     "Metatable has incorrect structure:"
  17. #DEFINE APP_META_MISSINGINDEX_LOC    "One or more of required indexes"+CHR(13)+ ;
  18.                                      "is missing from your metatable:"
  19.  
  20. #DEFINE PJX_META_DOC_FORM_TYPE       "F"
  21. #DEFINE PJX_META_DOC_REPORT_TYPE     "R"
  22. #DEFINE PJX_META_DOC_HEADER_TYPE     "A" 
  23.  
  24. #DEFINE APP_FEATURE_NOT_AVAILABLE_LOC "Feature not available."
  25. #DEFINE APP_FILE_NOT_FOUND_LOC        "File not found"
  26. #DEFINE APP_READY_TO_SHUTDOWN_LOC     "Are you sure you want to quit?"
  27. #DEFINE APP_LOADING_LOC               "Loading..."
  28.  
  29. #DEFINE APP_PM_WIN_TITLE_LOC         "Project Manager - "
  30. #DEFINE APP_ALREADY_EXISTS_LOC       "already exists"
  31. #DEFINE APP_GO_PAD_LOC               "\<Go"
  32. #DEFINE APP_GO_PAD_HOTKEY_LOC        ALT+G            
  33. #DEFINE APP_GO_MESSAGE_LOC           "Navigates the currently selected table, cursor, or view"  
  34.  
  35. #DEFINE APP_USER_FAVES_CLEAR_LOC     "Do you want to clear your Favorites list now?"
  36. #DEFINE APP_USER_FAVES_CORRUPT_LOC   "Your Favorites entries appear corrupt, and will be cleared."
  37. #DEFINE APP_META_TABLE_CHANGED_LOC   "Document table for "+THIS.cCaption+ " has been changed. "+ CHR(13)+;
  38.                                      "Some of your Favorites may not run properly. "+ ;
  39.                                      CHR(13)+CHR(13)+ ;
  40.                                      APP_USER_FAVES_CLEAR_LOC
  41.  
  42. #DEFINE APP_MACRO_RESTORE_LOC        "Restore"                                     
  43. #DEFINE APP_OUTPUT_ONE_REC_LOC       "Current Record"
  44.  
  45. * _dialog fonts
  46. #DEFINE DIALOG_SMALLFONT_NAME        "MS Sans Serif"
  47. #DEFINE DIALOG_LARGEFONT_NAME        "Arial"
  48.  
  49. * _aboutbox class
  50. #DEFINE ABOUT_LOC                    "About"
  51.  
  52. * _options class
  53. #DEFINE OPTIONS_LOC                      "User Options"
  54. #DEFINE OPTIONS_DEFAULTS_SAVED_LOC       "User option defaults have been saved."
  55. #DEFINE OPTIONS_APPLIED_LOC              "User options have been applied."
  56. #DEFINE OPTIONS_DEFAULTS_SHOWN_LOC       "User option saved defaults are shown."
  57. #DEFINE OPTIONS_NOT_STORED_LOC           "User option defaults not yet saved!"
  58. #DEFINE CHANGEPASSWORD_LOC               "Change Password"
  59. #DEFINE OPTIONS_CONFIRM_PASSWORD_LOC     "Please retype your new password for confirmation."
  60. #DEFINE OPTIONS_PASSWORD_UNCONFIRMED_LOC "Password not confirmed."+CHR(13)+"Please try again."
  61. #DEFINE OPTIONS_PASSWORD_CONFIRMED_LOC   "Your new password has been accepted. " 
  62.  
  63. * _UserLogInClass
  64. #DEFINE LOGIN_CAPTION_LOC            "User Login"
  65. #DEFINE LOGIN_ADD_USER_LOC           "Would you like to add a new user?"
  66. #DEFINE LOGIN_NEW_USER_INFO_LOC      "Store a new password for this user now."+ CHR(13)+CHR(13)+;
  67.                                      "This new user will receive basic-level access."
  68. #DEFINE LOGIN_USER_NOT_FOUND_LOC     "User not listed."
  69. #DEFINE LOGIN_WRONG_PASSWORD_LOC     "Incorrect password for this user."
  70. #DEFINE LOGIN_EMPTY_PASSWORD_LOC     "Empty password not allowed."
  71. #DEFINE LOGIN_TRIES_EXCEEDED_LOC     "Attempts to log in exceed limit!"
  72.  
  73. * user permissions and levels are provided for, although
  74. * not evaluated, in the basic framework
  75. #DEFINE USER_PERMISSION_DENIED_LOC  "Your user-level does not allow access to this function."
  76.  
  77. * _documentpicker and descendent classes
  78. #DEFINE DOCUMENTPICKER_NO_DOCUMENTS_LOC   "No registered documents available."
  79. #DEFINE DOCUMENTPICKER_NO_APP_LOC         "Must pass a reference to an object descended from _APPLICATION"
  80.  
  81. #DEFINE NEWOPEN_CAPTION_NEW_LOC           "Choose a document to create"
  82. #DEFINE NEWOPEN_CAPTION_OPEN_LOC          "Choose a document to open"
  83.  
  84. #DEFINE REPORTPICKER_CAPTION_RUN_LOC      "Choose a report to run"
  85. * report editing may be offered at some point:
  86. #DEFINE REPORTPICKER_CAPTION_MODIFY_LOC   "Choose a report to modify"
  87.  
  88. #DEFINE FAVORITEPICKER_CAPTION_ADD_LOC    "Documents available for Favorites"
  89. #DEFINE FAVORITEPICKER_ADDBUTTON_LOC      "\<Add"
  90. #DEFINE FAVORITEPICKER_CLOSEBUTTON_LOC    "\<Close"
  91. #DEFINE FAVORITEPICKER_CAPTION_START_LOC  "Quick Start"
  92. #DEFINE FAVORITEPICKER_DOC_ALREADY_LOC    "has already been picked for Favorites."
  93.  
  94. #DEFINE FAVORITEPICKER_PICKED_LOC         "* "
  95. #DEFINE FAVORITEPICKER_PICKED_LEN         LEN(FAVORITEPICKER_PICKED_LOC)
  96.  
  97. * _errorlogviewer class
  98. #DEFINE ERRORVIEWER_CAPTION_LOC        "Error Log Viewer"
  99. #DEFINE ERRORVIEWER_EMPTY_LOC          "The error log has no records."
  100. #DEFINE ERRORVIEWER_UNAVAILABLE_LOC    "The error log is not available."
  101. #DEFINE ERRORVIEWER_IN_USE_LOC         "The error log is in use, please close before continuing."
  102.  
  103. ***********************************************************
  104. * Messagebox subset from FOXPRO.H
  105. ***********************************************************
  106.  
  107. #DEFINE MB_OK                   0       && OK button only
  108. #DEFINE MB_OKCANCEL             1       && OK and Cancel buttons
  109. #DEFINE MB_ABORTRETRYIGNORE     2       && Abort, Retry, and Ignore buttons
  110. #DEFINE MB_YESNOCANCEL          3       && Yes, No, and Cancel buttons
  111. #DEFINE MB_YESNO                4       && Yes and No buttons
  112. #DEFINE MB_RETRYCANCEL          5       && Retry and Cancel buttons
  113.  
  114. #DEFINE MB_ICONSTOP             16      && Critical message
  115. #DEFINE MB_ICONQUESTION         32      && Warning query
  116. #DEFINE MB_ICONEXCLAMATION      48      && Warning message
  117. #DEFINE MB_ICONINFORMATION      64      && Information message
  118.  
  119. #DEFINE MB_APPLMODAL            0       && Application modal message box
  120. #DEFINE MB_DEFBUTTON1           0       && First button is default
  121. #DEFINE MB_DEFBUTTON2           256     && Second button is default
  122. #DEFINE MB_DEFBUTTON3           512     && Third button is default
  123. #DEFINE MB_SYSTEMMODAL          4096    && System Modal
  124.  
  125. *-- MsgBox return values
  126. #DEFINE IDOK            1       && OK button pressed
  127. #DEFINE IDCANCEL        2       && Cancel button pressed
  128. #DEFINE IDABORT         3       && Abort button pressed
  129. #DEFINE IDRETRY         4       && Retry button pressed
  130. #DEFINE IDIGNORE        5       && Ignore button pressed
  131. #DEFINE IDYES           6       && Yes button pressed
  132. #DEFINE IDNO            7       && No button pressed
  133.  
  134. ***********************************************************
  135. * Data-handling subset from FOXPRO.H
  136. ***********************************************************
  137. *-- Cursor buffering modes
  138. #DEFINE DB_BUFOFF               1
  139. #DEFINE DB_BUFLOCKRECORD        2
  140. #DEFINE DB_BUFOPTRECORD         3        
  141. #DEFINE DB_BUFLOCKTABLE         4
  142. #DEFINE DB_BUFOPTTABLE          5
  143.  
  144. *-- Update types for views/cursors
  145. #DEFINE DB_UPDATE               1
  146. #DEFINE DB_DELETEINSERT         2
  147.  
  148. *-- WHERE clause types for views/cursors
  149. #DEFINE DB_KEY                  1
  150. #DEFINE DB_KEYANDUPDATABLE      2
  151. #DEFINE DB_KEYANDMODIFIED       3
  152. #DEFINE DB_KEYANDTIMESTAMP      4
  153.  
  154. *-- Remote connection login prompt options
  155. #DEFINE DB_PROMPTCOMPLETE       1
  156. #DEFINE DB_PROMPTALWAYS         2
  157. #DEFINE DB_PROMPTNEVER          3
  158.  
  159. *-- Remote transaction modes
  160. #DEFINE DB_TRANSAUTO            1
  161. #DEFINE DB_TRANSMANUAL          2
  162.  
  163. *-- Source Types for CursorGetProp()
  164. #DEFINE DB_SRCLOCALVIEW         1
  165. #DEFINE DB_SRCREMOTEVIEW        2
  166. #DEFINE DB_SRCTABLE             3
  167.  
  168.  
  169. #DEFINE WINDOWTYPE_MODELESS   0
  170. #DEFINE WINDOWTYPE_MODAL      1
  171. #DEFINE WINDOWTYPE_READ       2
  172. #DEFINE WINDOWTYPE_READMODAL  3
  173.  
  174.